package com.woniu.dashboard;


import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;

/**
 * 票房榜单对象 tb_dashboard
 *
 * @author yy
 * @date 2023-09-27
 */
@Table(name="tb_dashboard")
public class Dashboard
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @Id
    private Integer id;

    /** 影片名称 */
    private String movieName;

    /** 上映天数 */
    private Integer onlineDays;

    /** 综合票房（单位：万） */
    private Integer boxOffice;

    /** 总计票房 */
    private Integer generalBoxOffice;

    /** 票房占比 */
    private BigDecimal boxRatio;

    /** 排片场次总数 */
    private Integer playTimes;

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setMovieName(String movieName)
    {
        this.movieName = movieName;
    }

    public String getMovieName()
    {
        return movieName;
    }
    public void setOnlineDays(Integer onlineDays)
    {
        this.onlineDays = onlineDays;
    }

    public Integer getOnlineDays()
    {
        return onlineDays;
    }
    public void setBoxOffice(Integer boxOffice)
    {
        this.boxOffice = boxOffice;
    }

    public Integer getBoxOffice()
    {
        return boxOffice;
    }
    public void setGeneralBoxOffice(Integer generalBoxOffice)
    {
        this.generalBoxOffice = generalBoxOffice;
    }

    public Integer getGeneralBoxOffice()
    {
        return generalBoxOffice;
    }
    public void setBoxRatio(BigDecimal boxRatio)
    {
        this.boxRatio = boxRatio;
    }

    public BigDecimal getBoxRatio()
    {
        return boxRatio;
    }
    public void setPlayTimes(Integer playTimes)
    {
        this.playTimes = playTimes;
    }

    public Integer getPlayTimes()
    {
        return playTimes;
    }

    @Override
    public String toString() {
        return "Dashboard{" +
                "id=" + id +
                ", movieName='" + movieName + '\'' +
                ", onlineDays=" + onlineDays +
                ", boxOffice=" + boxOffice +
                ", generalBoxOffice=" + generalBoxOffice +
                ", boxRatio=" + boxRatio +
                ", playTimes=" + playTimes +
                '}';
    }
}
